<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>跳转提示</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <style type="text/css">
        * {
            padding: 0;
            margin: 0;
        }
        #box{
            background: #000;
            opacity: 0.8;
            overflow: hidden;
        }
        .tix{
            width: 50%;
            padding-top: 1rem;
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            padding-bottom: 1rem;
            color:#fff;
            font-size: 1rem;
            font-weight: 500;
            border:2px dashed #fff;
            border-radius: 9%;
            margin: 8rem auto; 
        }
        img{
            width: 10rem;
            float: right;
            margin-right: 1rem;
        }
    </style>
</head>
<body>
    <div id="box">

        <img src="http://zframe.lingxuantech.com/static/img/1.png">

        <div class="tix">

            请点击 “···” 选择其它浏览器下载~~

        </div>

    </div>
</body>
<script type="text/javascript">
    var url = 'https://www.kuaifaka.com/download/app.do';
    var box = document.getElementById("box");
        box.style.minHeight = document.documentElement.clientHeight / 16 + 'rem';

    ifwx();

    function ifwx (){
        var ua = navigator.userAgent.toLowerCase();
        var isWeixin = ua.indexOf('micromessenger') != -1;
        if (isWeixin) {
            return true;
        }else{
            box.style.display = 'none';
            window.location.href = url;
            return false;
        }
    }
</script>
<script type="text/javascript">
    //页面适配 不要修改
    (function(doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function() {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                docEl.style.fontSize = 16 * (clientWidth / 375) + 'px';
            };
        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false)
    })(document, window);
</script>
</html>